public class Dog {
    public String name;
    public int age;
    public String brand;//品种

    public void eat() {
        System.out.println(name + "在吃饭");
    }
    public void sleep() {
        System.out.println(name + "在睡觉");
    }
    public void bard () {
        System.out.println(name + "在汪汪汪！");
    }
}
